<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
<script src="http://cdn.static.runoob.com/libs/angular.js/1.4.6/angular.min.js"></script>
</head>
<body>
<div ng-app="">
    <p>名字：<input type="text" ng-model="name"></p>
    <h1>Hello {{name}}</h1>
</div>
</body>

</html>